<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>联系我们 - 专业挖掘机培训系统</title>
    <link href="https://cdn.jsdelivr.net/npm/aos@2.3.4/dist/aos.css" rel="stylesheet">
    <style>
        /* 基础样式 */
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Microsoft YaHei', sans-serif;
            line-height: 1.6;
        }
        /* 导航栏样式 */
        
        .nav {
            display: flex;
            justify-content: space-between;
            padding: 1.5rem 5%;
            position: fixed;
            width: 100%;
            z-index: 1000;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: white;
        }
        
        .nav-links {
            display: flex;
            gap: 2rem;
        }
        
        .nav-links a {
            color: white;
            text-decoration: none;
            font-size: 1.1rem;
            transition: color 0.3s;
            position: relative;
            padding: 5px 0;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #ffd700;
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }
        /* 联系页面样式 */
        
        .contact-container {
            padding: 120px 10% 80px;
            background: #f5f5f5;
        }
        
        .contact-header {
            text-align: center;
            margin-bottom: 4rem;
        }
        
        .contact-header h1 {
            font-size: 3rem;
            color: #333;
            margin-bottom: 1rem;
        }
        
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }
        
        .contact-info-card {
            background: white;
            padding: 3rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .contact-info-item {
            display: flex;
            align-items: center;
            margin-bottom: 2rem;
        }
        
        .contact-info-item i {
            font-size: 2rem;
            color: #ffd700;
            margin-right: 1.5rem;
        }
        
        .contact-info-text h3 {
            color: #333;
            margin-bottom: 0.5rem;
        }
        
        .contact-info-text p {
            color: #666;
        }
        
        .contact-form {
            background: white;
            padding: 3rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #333;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }
        
        .form-group textarea {
            height: 150px;
            resize: vertical;
        }
        
        .submit-btn {
            background: linear-gradient(45deg, #ffd700, #ffb700);
            color: #000;
            padding: 1rem 2rem;
            border: none;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s;
            width: 100%;
        }
        
        .submit-btn:hover {
            transform: scale(1.05);
        }
        
        .map-container {
            margin-top: 4rem;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .map-container iframe {
            width: 100%;
            height: 400px;
            border: none;
        }
        /* 页脚样式 */
        
        .footer {
            background: #222;
            color: #fff;
            padding: 4rem 10%;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
            margin-bottom: 2rem;
        }
        
        .footer-section h4 {
            color: #ffd700;
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .footer-section h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 30px;
            height: 2px;
            background: #ffd700;
        }
        
        .footer-section p {
            color: #aaa;
            line-height: 1.8;
            margin-bottom: 1rem;
        }
        
        .footer-links li {
            list-style: none;
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            color: #aaa;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: #ffd700;
        }
        
        .contact-info li {
            list-style: none;
            color: #aaa;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .social-links a {
            color: #aaa;
            font-size: 1.5rem;
            transition: color 0.3s;
        }
        
        .social-links a:hover {
            color: #ffd700;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid #444;
            color: #aaa;
            font-size: 0.9rem;
        }
    </style>
</head>

<body>
    <nav class="nav">
        <div class="logo">专业挖掘机培训</div>
        <div class="nav-links">
            <a href="index.html">首页</a>
            <a href="courses.html">课程</a>
            <a href="about.html">关于我们</a>
            <a href="contact.html">联系方式</a>
            <a href="/logout">退出登录</a>
        </div>
    </nav>

    <main class="contact-container">
        <div class="contact-header" data-aos="fade-up">
            <h1>联系我们</h1>
            <p>如有任何问题，请随时与我们联系</p>
        </div>

        <div class="contact-content">
            <div class="contact-info-card" data-aos="fade-right">
                <div class="contact-info-item">
                    <i class="fas fa-map-marker-alt"></i>
                    <div class="contact-info-text">
                        <h3>地址</h3>
                        <p>郑州市新郑市龙湖镇教育园区</p>
                    </div>
                </div>
                <div class="contact-info-item">
                    <i class="fas fa-phone"></i>
                    <div class="contact-info-text">
                        <h3>电话</h3>
                        <p>400-888-8888</p>
                    </div>
                </div>
                <div class="contact-info-item">
                    <i class="fas fa-envelope"></i>
                    <div class="contact-info-text">
                        <h3>邮箱</h3>
                        <p>contact@excavator.com</p>
                    </div>
                </div>
                <div class="contact-info-item">
                    <i class="fas fa-clock"></i>
                    <div class="contact-info-text">
                        <h3>营业时间</h3>
                        <p>周一至周五: 9:00 - 18:00</p>
                        <p>周六: 9:00 - 17:00</p>
                    </div>
                </div>
            </div>

            <div class="contact-form" data-aos="fade-left">
                <form id="contactForm">
                    <div class="form-group">
                        <label for="name">姓名</label>
                        <input type="text" id="name" name="name" required>
                    </div>
                    <div class="form-group">
                        <label for="phone">电话</label>
                        <input type="tel" id="phone" name="phone" required>
                    </div>
                    <div class="form-group">
                        <label for="email">邮箱</label>
                        <input type="email" id="email" name="email" required>
                    </div>
                    <div class="form-group">
                        <label for="message">留言内容</label>
                        <textarea id="message" name="message" required></textarea>
                    </div>
                    <button type="submit" class="submit-btn">提交留言</button>
                </form>
            </div>
        </div>

        <div class="map-container" data-aos="fade-up">
            <iframe src="https://maps.google.com/maps?q=郑州市新郑市龙湖镇教育园区&output=embed" allowfullscreen></iframe>
        </div>
    </main>

    <footer class="footer">
        <div class="footer-content">
            <div class="footer-section">
                <h4>关于我们</h4>
                <p>专业的挖掘机培训机构，十年培训经验，持证上岗，安全可靠。为学员提供专业的技能培训和就业服务。</p>
                <div class="social-links">
                    <a href="#"><i class="fab fa-weixin"></i></a>
                    <a href="#"><i class="fab fa-weibo"></i></a>
                    <a href="#"><i class="fab fa-qq"></i></a>
                </div>
            </div>

            <div class="footer-section">
                <h4>快速链接</h4>
                <ul class="footer-links">
                    <li><a href="#courses">培训课程</a></li>
                    <li><a href="#schedule">培训安排</a></li>
                    <li><a href="#pricing">收费标准</a></li>
                    <li><a href="#faq">常见问题</a></li>
                </ul>
            </div>

            <div class="footer-section">
                <h4>联系方式</h4>
                <ul class="contact-info">
                    <li><i class="fas fa-phone"></i><span>400-888-8888</span></li>
                    <li><i class="fas fa-envelope"></i><span>contact@excavator.com</span></li>
                    <li><i class="fas fa-map-marker-alt"></i><span>郑州市新郑市龙湖镇教育园区</span></li>
                </ul>
            </div>

            <div class="footer-section">
                <h4>营业时间</h4>
                <ul class="footer-links">
                    <li>周一至周五: 9:00 - 18:00</li>
                    <li>周六: 9:00 - 17:00</li>
                    <li>周日: 休息</li>
                </ul>
            </div>
        </div>

        <div class="footer-bottom">
            <p>&copy; 2024 专业挖掘机培训系统 版权所有 | 京ICP备xxxxxxxx号</p>
        </div>
    </footer>

    <script src="https://kit.fontawesome.com/your-code.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/aos@2.3.4/dist/aos.js"></script>
    <script>
        AOS.init({
            duration: 1000,
            once: true
        });

        // 表单提交处理
        document.getElementById('contactForm').addEventListener('submit', function(e) {
            e.preventDefault();
            // 这里添加表单提交逻辑
            alert('感谢您的留言，我们会尽快与您联系！');
            this.reset();
        });
    </script>
</body>

</html>